package com.homework.ch04;
import java.util.Arrays;
public class Test06 {
    public static void main(String[] args) {
        int[] arr1 = {1,2,3};
        int[] arr2 = arr1;
        arr2[1] = 0;
        System.out.println(arr1.toString());
        System.out.println(arr2.toString());
        System.out.println("arr1: "+Arrays.toString(arr1));
        System.out.println("arr2: "+Arrays.toString(arr2));

    }
}
